<?php

//DataObject::add_extension('SiteConfig', 'SiteConfigOverride');

global $project;
$project = 'mysite';


global $databaseConfig;
$databaseConfig = array(
	"type" => 'MySQLDatabase',
	"server" => 'localhost',
	"username" => 'root',
	"password" => 'vertrigo',
	"database" => '4happyfeet',
	"path" => '',
);


/*
global $databaseConfig;
$databaseConfig = array(
	"type" => 'MySQLDatabase',
	"server" => 'db2.hosting2go.nl',
	"username" => 'm1_4a571b0c',
	"password" => 'GRwjB2zP5E',
	"database" => 'm1_4a571b0c',
	"path" => '',
);
/**/

/*
global $databaseConfig;
$databaseConfig = array(
	"type" => 'MySQLDatabase',
	"server" => '127.0.0.1',
	"username" => 'wesp_379_rw',
	"password" => '1',
	"database" => 'wesp_4hf_Algemeen',
	"path" => '',
);
/**/

Director::set_environment_type('dev');
//Director::set_environment_type('live');
MySQLDatabase::set_connection_charset('utf8');

// This line set's the current theme. More themes can be
// downloaded from http://www.silverstripe.org/themes/
SSViewer::set_theme('4happyfeet');

// Set the site locale
i18n::set_locale('en_US');

// enable nested URLs for this site (e.g. page/sub-page/)
SiteTree::enable_nested_urls();

